package com.ruyuan.eshop.common.framework.database;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * Long mapper
 * @author pwd
 * @version 1.0
 */
public class LongMapper implements RowMapper<Long> {

	@Override
    public Long mapRow(ResultSet rs, int rowNum) throws SQLException {
		Long  v = rs.getLong(1);
		return v;
	}

}
